
# -*- coding: utf-8 -*-
' a test module '

__author__ = 'Martin Wu'

# import sys
#
# class Student(object):
#     def __init__(self, name, score):
#         self.name = name
#         self.score = score
#
#     def print_a(self):
#         print('%s: %s' % (self.name, self.score))
#
#     def __len__(self):
#         return 1
#
# bart = Student('吴步泽', 100)
#
# def test():
#     args = sys.argv
#     if len(args) == 1:
#         print('Hello, world!')
#     elif len(args) == 2:
#         print('Too many arguments!')



def test(**kwargs):

    str =  "SELECT PO_ERRORCODE FROM PADD_SHORDERD_DETAIL_YMXAPI('{}','{}','{}','{}')".format(
        kwargs.get('order_id'),
        kwargs.get('sku'),
        kwargs.get('price'),
        kwargs.get('qty') )
    print (str)




if __name__=='__main__':
    test(order_id=1, sku='123', price=10, qty=3)
